package com.ruoyi.work.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import com.ruoyi.work.mapper.TbWorkOrderUserMapper;
import com.ruoyi.work.domain.TbWorkOrderUser;
import com.ruoyi.work.service.ITbWorkOrderUserService;

import java.util.List;

/**
 * 救援任务人员Service业务层处理
 *
 * @author szm
 * @date 2025-10-21
 */
@Service
public class TbWorkOrderUserServiceImpl extends ServiceImpl<TbWorkOrderUserMapper,TbWorkOrderUser> implements ITbWorkOrderUserService {
    public List<TbWorkOrderUser> getWorkUserByNo(){
        return baseMapper.getWorkUserByNo();
    }

    @Override
    public List<TbWorkOrderUser> selectByWorkNo(String workNo) {
        return baseMapper.selectByWorkNo(workNo);
    }

    @Override
    public void updateByWorkNo(String workNo) {
        baseMapper.updateByWorkNo(workNo);
    }
}
